var rule={
    title:'思古影视',
    host:'https://xxmsrj.com',
    homeUrl:'/index.php/label/ranking.html',
    url:'/index.php/vod/type/id/fyclass/page/fypage.html',
    searchable:2,
    quickSearch:0,
    headers:{
        'User-Agent':'MOBILE_UA'
    },
    timeout:5000,
    class_parse: '.side-menu-nav&&a:lt(20);a&&Text;a&&href;(\\d+).html',
    cate_exclude:'理论片',
    play_parse:true,
    lazy:`js:
        var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
        var url = html.url;
        if (html.encrypt == '1') {
            url = unescape(url)
        } else if (html.encrypt == '2') {
            url = unescape(base64Decode(url))
        }
        if (/\\.m3u8|\\.mp4/.test(url)) {
            input = {
                jx: 0,
                url: url,
                parse: 0
            }
        } else if (/youku|iqiyi|v\\.qq\\.com|pptv|sohu|le\\.com|1905\\.com|mgtv|bilibili|ixigua/.test(url)) {
            let play_Url = /bilibili/.test(url) ? 'https://jx.xmflv.com/?url=' : 'https://jx.777jiexi.com/player/?url='; // type0的parse
            input = {
                jx: 0,
                url: url,
                playUrl: play_Url,
                parse: 1,
                header: JSON.stringify({
                    'user-agent': 'Mozilla/5.0',
                }),
            }
        } else {
            input
        }
    `,
    推荐: '.new-list&&li:lt(20);.text-row-2&&Text;*;span.text-overflow&&Text;a&&href',
    一级:'div.col-xs-4;h3&&Text;.lazyload&&data-original;span.text-row-1&&Text;a&&href',
    二级: {
        "title": "h1&&Text;li.hidden-sm--span:eq(0)&&Text",
        "img": ".detail-img&&img&&data-original",
        "desc": "li.hidden-sm:eq(2)&&Text;;;li.col-xs-12--span:eq(0)&&Text;li.hidden-xs--span:eq(1)&&Text",
        "content": ".detail-intro-text&&Text",
        "tabs": ".tab-box&&li",
        "lists": ".ewave-tab-content:eq(#id)&&li"
    },

    searchUrl:'/index.php/ajax/suggest?mid=1&wd=**&limit=50',
    detailUrl:'/index.php/vod/detail/id/fyid.html', //非必填,二级详情拼接链接
    搜索: 'json:list;name;pic;;id',
}